Skip to content

Conversation

@pwang347
Copy link
Member

@pwang347 pwang347 commented Jan 6, 2026

Fixes #286248

Copilot AI review requested due to automatic review settings January 6, 2026 23:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds experiment configuration and telemetry tracking for the custom subagents feature. The experiment enables automatic rollout of the chat.subagentTool.customAgents setting, while the telemetry helps track how the subagent tool is being used with custom agents.

  • Added telemetry event to track subagent invocations with hashed agent names for privacy
  • Configured automatic experiment mode for the custom agents feature
  • Implemented SHA1 hashing utility for agent names to protect user privacy in telemetry

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.ts Added telemetry tracking with ChatSubagentInvokedEvent, imported required services (ITelemetryService, StringSHA1), and implemented hashAgentName helper function
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Added experiment configuration with mode: 'auto' to enable automatic rollout of the custom subagents feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable subagent from custom agents by default

2 participants